import * as API from "@/api/api";

//项目
export default {
    getProjectManageList: params => {
        return API.POST("/user/getProjectManageList", params);
    },
    editManageProject: params => {
        return API.POST("/user/editManageProject", params);
    },
    addManageProject: params => {
        return API.POST("/user/addManageProject", params);
    },
    delManageProject: params => {
        return API.POST("/user/delManageProject", params);
    },
    getProjectManageMsg: params => {
        return API.POST("/user/getProjectManageMsg", params);
    },
    editManageArrivalProgress: params => {
        return API.POST("/user/editManageArrivalProgress", params);
    },
    editManageProjectContract: params => {
        return API.POST("/user/editManageProjectContract", params);
    },
    editManageActualValuePrice: params => {
        return API.POST("/user/editManageActualValuePrice", params);
    },
    editManageDiscount: params => {
        return API.POST("/user/editManageDiscount", params);
    },
    doSureCheckProject: params => {
        return API.POST("/user/doSureCheckProject", params, null, 1);
    },
    editProjectCheckTime: params => {
        return API.POST("/user/editProjectCheckTime", params, null, 1);
    },
    doFailManageProject: params => {
        return API.POST("/user/doFailManageProject", params, null, 1);
    },

    doPackageManageProject: params => {
        return API.POST("/user/doPackageManageProject", params, null, 1);
    },
    viewPackageManageProjectMsg: params => {
        return API.POST("/user/viewPackageManageProjectMsg", params, null, 1);
    },
    viewPackageManageProjectList: params => {
        return API.POST("/user/viewPackageManageProjectList", params, null, 1);
    },
    viewOfflineHasPackageProjectList: params => {
        return API.POST("/user/viewOfflineHasPackageProjectList", params, null, 1);
    },
    doDelProjectPackage: params => {
        return API.POST("/user/doDelProjectPackage", params, null, 1);
    },
    doSetProjectPackageTime: params => {
        return API.POST("/user/doSetProjectPackageTime", params, null, 1);
    },
    doSureProjectPackage: params => {
        return API.POST("/user/doSureProjectPackage", params, null, 1);
    },


    doExportPackage: params => {
        return API.POSTFILE("/user/doExportPackage", params, "application/json", true);
    },
    doGetHasAddProjectName: params => {
        return API.POST("/user/doGetHasAddProjectName", params, null, 1);
    },
    doSureFinalProject: params => {
        return API.POST("/user/doSureFinalProject", params, null, 1);
    },

    getOneProjectPackageList: params => {
        return API.POST("/user/getOneProjectPackageList", params, null, 1);
    },


    //新的删除
    doDelProjectMedium:params =>{
        return API.POST("/user/doDelProjectMedium", params, null, 1);
    }

};
